/**
 * Copyright(c) TacoTag/Fukila Organization
 * FileName: EMFactory.java
 * Created by Lance on 2009/4/21
 * Change History 
 * Date          Flag      Owner      Change Comment
 *
 */
package org.fukila.core.util;

import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;

/**
 * Purpose:
 * 
 * @author Lance 
 * @date 2009/4/21
 * ------------[ Revision History ]----------
 * $Date$
 * $Log$
 */
public class EMFFactory {
    private static final EntityManagerFactory emfInstance =
        Persistence.createEntityManagerFactory("Fukila2PU");
    
    private EMFFactory() {
        
    }
    
    public static EntityManagerFactory get() {
        return emfInstance;
    }    
}
